<?php if(!session_id()); session_start();
require("config.php");
require("common_start.php");
require("lib/func.lib.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base hrefx="http://www.iziflowershop.tk/" />

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>iZiFlowerShop - Trang chủ - HoaTuoi</title>
<meta name="description" content="Đặt hàng Online Hoa Tươi" />
<meta name="keywords" content="Đặt hàng Online Hoa Tươi" />

<meta name="author" content="09520396_095406_09520407" />
<meta name="generator" content="HoaTuoi" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="themes/styles/css/izishop.css" rel="stylesheet" type="text/css" />
<link href="themes/text/css/Style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="includes/libraries/javascript/jquery.js" charset="utf-8"></script>
<script type="text/javascript" src="includes/libraries/javascript/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="includes/libraries/javascript/jquery.easing.js"></script>
<script type="text/javascript" src="includes/libraries/javascript/script.js"></script>
<script type="text/javascript" src="themes/styles/js/nav.js" charset="utf-8"></script>
<script type="text/javascript" src="themes/styles/js/select.js" charset="utf-8"></script>
<script src="themes/text/javascript/ShowTooltip2.js" type="text/javascript"></script>
<script type="text/javascript" style="display: none;">
$(function() {
	$(window).scroll(function() {
	   if($(this).scrollTop()==0)
       {
        $('#to_top').fadeOut();
       }
	   if($(this).scrollTop() != 0) {
			$('#to_top').fadeIn();	
		}
	});
 
	$('#to_top').click(function() {
		$('body,html').animate({scrollTop:0},800);
	});	
});

</script>
<script type="text/javascript">

var SITE_URL = "index.php";
var PRICE_FORMAT = '%s đ';

$(function(){
    var select_list = document.getElementById("select_list");
    var float_list = document.getElementById("float_list");
    select_list.onmouseover = function () {
        float_list.style.display = "block";
    };
    select_list.onmouseout = function () {
        float_list.style.display = "none";
    };
});

</script>

<!--<editmode></editmode>-->


<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-32720527-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript/index.htm'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + 'google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<script type="text/javascript">
    function btnSearch_onclick()
	{
    	if(test_empty(document.frmSearch.keyword.value))
		{
    		alert(mustInput_Search);document.frmSearch.keyword.focus();return false;
    	}
    	document.frmSearch.submit();
		return true;
	}
	function search_onchange()
    {        
        var x = document.getElementById("selectsearch").selectedIndex;
        var y =document.getElementById("search_frame");
       // alert(y.value);
        if(x==0)
            y.value ="search" ;
        else
            y.value="search_order";
    }
</script>
</head>

<body>

<a id="to_top" style="display: none;"></a>
<div id="head">
    <h1 title="iZiFlowerShop">
	<object width="1000" height="160" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash6/cabs/swflash.cab#version=6,0,0,0">
        <param name="movie" value="themes/styles/images/banner-izishop-1000x115.swf"/>
        <param name="quality" value="autohigh"/>
        <param name="bgcolor" value="#000000"/>
        <param name="wmode" value="window"/>
        <embed width="1000" height="160" src="themes/styles/images/banner-izishop-1000x150.swf" quality="autohigh" bgcolor="#000000" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
	</object>
	
	
	</h1>
    <div></div>
</div>

<ul id="tabs8">
<li id="current"><a class="link" href="index.php"><span>Trang chủ</span></a></li>
<li><a class="hover" href="mailto:conghau.master1@gmail.com"><span>Hỗ trợ</span></a></li>
<li><a class="hover" href="./?frame=intro"><span>Giới thiệu</span></a></li>
<li><a class="hover" href="./?act=search&frame=search"><span>Tìm Tất Cả Mặt Hàng</span></a></li>
</ul>
<div class="search">
 <div class="wrap">
        <form action="./" method="get" name="frmSearch">
            <div class="border">
                <div class="select_js">
                   <select id="selectsearch" onchange ="search_onchange()">
                        <option> Sản phẩm</option>
                        <option>Mã Order</option>
                   </select>
                    <input type="hidden" name="act" value="index" />
                    </div>
                <input type="text" name="keyword" placeholder="Nhập thông tin" value=""  class="text2" />              
				<input type="hidden" id="search_frame" name="frame" value="search" />
            </div>           
            <input type="submit" name="Submit" value="Search" class="btn" onclick ="return btnSearch_onclick();" />
        </form>
        </div>
    <div class="nav">
        <div class="nav1"></div>
        <div class="nav2"></div>
        <a href="./?frame=cart" class="buy">
            Giỏ hàng 
            <strong id="cart_goods_kinds"></strong>
                <?
					$cnt=0;
					$tongcong=0;
					$cart=$_SESSION['cart'];if ($cart<>''){
					foreach ($cart as $product){
						$sql = "select * from tbl_product where id='".$product[0]."'";
						$result = mysql_query($sql,$conn);
						if (mysql_num_rows($result)>0){
						$pro = mysql_fetch_assoc($result)?>
                              <?
					}
					$tongcong=$tongcong+$product[1];
					$cnt=$cnt+1;
					} }				
				?>
                
            
            <span> <?=$tongcong?></span>
            Sản phẩm
        </a>
                
    </div>
</div>

<div class="keyword">
    <div class="keyword1"></div>
    <div class="keyword2"></div>
    <strong>Tìm kiếm nóng</strong>:
        <a href="./?act=index&keyword=sorry&frame=search&Submit=Search">Sorry</a>
        <a href="./?act=index&keyword=Hoa hong&frame=search&Submit=Search">Hoa hồng</a>
        <a href="./?act=index&keyword=Sinh nhat&frame=search&Submit=Search">Sinh nhật</a>
    </div>
<div class="content">
	<div class="left" area="top_left" widget_type="area">			
		

		<div id="_widget_272" name="gcategory_nav" widget_type="widget" class="widget">
			<link href="external/widgets/gcategory_nav/style.css" rel="stylesheet" type="text/css" />
			<script type="text/javascript">
			$(function(){
				$('package_ul - li/index.htm').hover(function(){
					$(this).children('div.float_div').show();
					$(this).removeClass('normal').addClass('active');
					var obj = $(this).offset();
					var child_obj = $(this).children('div.float_div');
					//child_obj.css({top:obj.top-215});
				},function(){
					$(this).removeClass('active').addClass('normal');
					$(this).children('div.float_div').hide();
				});
				$('float_content li/index.htm').hover(function(){
					$(this).addClass('activechild');
				},function(){
					$(this).removeClass('activechild');
				});
			});
			</script>
			<div id="package">
				<div class="module_common">
					<h2><b class="category" title=""></b></h2>
					<div class="wrap">
						<div class="wrap_child">
							<ul class="package_ul">
								<td><? include('module/product_category.php')?></td>
							</ul>
						</div>				   
					</div>
				</div>
			</div>
		</div>

		<div id="_widget_350" name="new_article" widget_type="widget" class="widget">
			<div class="module_common">
				<h2>
					<b  class="recommended_article" title="Bài mới nhất"></b>
					
				</h2>
				<div class="wrap">
					<div class="wrap_child">
						<div class="side_textlist">
							<ul>
								<li><a href="" title="Điều khoản và Quy Định">Điều khoản và Quy Định</a></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div id="_widget_641" name="support" widget_type="widget" class="widget">
			<div class="module_common">
				<h2>Hỗ trợ trực tuyến</h2>
				<div class="wrap">
					<div class="wrap_child">
						<div class="side_textlist">							
							<div style="padding-bottom: 10px" class="div_box_content">
								<div class="div_support_online">
									<td align="center"><? include('box/box_yahoo.php')?></td>								
								</div>																	
							</div>																					
						</div>
					</div>
				</div>
			</div>
		</div>

		<div id="_widget_292" name="sales_list" widget_type="widget" class="widget">
			<div class="module_common">
				<h2><b class="top10" title="XẾP HẠNG"></b></h2>
				<div class="wrap">
					<div class="wrap_child">
						<ol class="list_text">
							<td> <? include('module/product_top10.php')?></td>											
						</ol>               
					</div>
				</div>
			</div>
		</div>
        		
        		<!-- Currency Converter Script -Made by Tuido maypa -->
        <div id="_widget_603" name="advt" widget_type="widget" class="widget">
            <div class="module_common">
            <div style="text-align:left;background-color:#2D6AB4;width:100%;;height:16px; font-size:12px;font-weight:bold;padding:5px 0px;"> 
                <span  style="background-image:url(http://widget.fx-exchange.com/fx.png); background-position:
                    0 -1344px; width:100%; height:15px; background-repeat:no-repeat;margin-left:5px;">
                    <p style="color:#FFFFFF; text-decoration:none;padding-left:22px; text-align: center;">Bảng tỉ giá ngoại tệ (VNĐ)</p>
                </span>
            </div>          
            <script language="javascript" src="http://www.vnexpress.net/Service/Forex_Content.js"></script>


<div style=" width:100%; height:165px; border:#a9a9a9 0px solid; border-right:0px; overflow:auto">
<table width="99%" border="1" cellpadding="2" cellspacing="0" bordercolor="#a9a9a9" style="border-collapse: collapse" align="center">
<tbody>
<tr>
<td class="td1"><script language="javascript">document.write(vForexs[0]);</script></td>
<td align="right"><script language="javascript">document.write(vCosts[0]);</script></td>
</tr> <tr>

<td class="td1"><script language="javascript">document.write(vForexs[1]);</script></td>
<td align="right"><script language="javascript">document.write(vCosts[1]);</script></td>
</tr>
<tr>
<td class="td1"><script language="javascript">document.write(vForexs[2]);</script></td>
<td align="right"><script language="javascript">document.write(vCosts[2]);</script></td>

</tr>

<tr>
<td class="td1"><script language="javascript">document.write(vForexs[3]);</script></td>
<td align="right"><script language="javascript">document.write(vCosts[3]);</script></td>
</tr>

<tr>
<td class="td1"><script language="javascript">document.write(vForexs[4]);</script></td>

<td align="right"><script language="javascript">document.write(vCosts[4]);</script></td>
</tr>

<tr>
<td class="td1"><script language="javascript">document.write(vForexs[5]);</script></td>
<td align="right"><script language="javascript">document.write(vCosts[5]);</script></td>
</tr>

<tr>
<td class="td1"><script language="javascript">document.write(vForexs[6]);</script></td>
<td align="right"><script language="javascript">document.write(vCosts[6]);</script></td>
</tr>

<tr>
<td class="td1"><script language="javascript">document.write(vForexs[7]);</script></td>
<td align="right"><script language="javascript">document.write(vCosts[7]);</script></td>

</tr>
<tr>
<td class="td1"><script language="javascript">document.write(vForexs[8]);</script></td>
<td align="right"><script language="javascript">document.write(vCosts[8]);</script></td>
</tr>


<tr>
<td class="td1"><script language="javascript">document.write(vForexs[9]);</script></td>

<td align="right"><script language="javascript">document.write(vCosts[9]);</script></td>
</tr>

</tbody>
</table>
</div>


             </div>
         </div>
        <!-- End of Currency Converter Script -->



		<div id="_widget_365" name="counterone" widget_type="widget" class="widget">
			<div class="module_common">
				<h2><b class="count" title="Thống kê"></b></h2>
				<div class="wrap">
					<div class="wrap_child"> 
						  <? include('box/box_total.php')?>
						   <br/>
						   <center>
							 
						   <br/>
							<script type="text/javascript">
                            function browserName(){
                        	   var Browser = navigator.userAgent;
                        	   if (Browser.indexOf('IE') >= 0){
                        	    Browser = 'IE';
                        	   }
                        	   else if (Browser.indexOf('Firefox') >= 0){
                        	    Browser = 'Firefox';
                        	   }
                        	   else if (Browser.indexOf('Chrome') >= 0){
                        	    Browser = 'Chrome';
                        	   }
                        	   else if (Browser.indexOf('Safari') >= 0){
                        	    Browser = 'Safari';
                        	   }
                        	   else if (Browser.indexOf('Opera') >= 0){
                        	      Browser = 'Opera';
                        	   }
                        	   else{
                        	    Browser = 'UNKNOWN';
                        	   }
                        	   return Browser;
                        	}
                            function browserVersion(){
                        	   var index;
                        	   var version = 0;
                        	   var name = browserName();
                        	   var info = navigator.userAgent;
                        	   index = info.indexOf(name) + name.length + 1;
                        	   version = parseFloat(info.substring(index,index + 3));
                        	   return version;
                        	}
                            document.write('Bạn đang dùng trình duyệt ' + browserName() + ' version ' + browserVersion());
                            </script>
                            <br/>
							
											 <img border="0" src="external/widgets/counterone/image/iconwin.png"> Windows 
																							</center>   
					</div>
				</div>
			</div>
		</div>
	</div>

	<div class="right">
		<div class="main">
			<div widget_type="area" area="cycle_image" id="module_middle">
                
				<div class="widget" widget_type="widget" name="cycle_image" id="_widget_326">
					<script type="text/javascript">
					var tId;
					startScroll();
					$(function(){
						$('.ad_cycle li').each(function(){
							$(this).click(function(){
								slideHere($(this));
							}).mouseover(function(){
								stopHere($(this));
							}).mouseout(function(){
								startScroll();
							});
						});
					});
					function startScroll(){
						tId = setInterval(function(){
							var nextImg = $('.nonce').next('.initial');
							if(nextImg.length==0){
								nextImg = $($('.ad_cycle li')[0]);
							}
							slideHere($(nextImg));
						}, 3000);
					}
					function stopScroll(){
						clearInterval(tId);
					}
					function slideHere(imgObj){
						$('.ad_cycle li').removeClass('nonce');
						$('.ad_cycle li').addClass('initial');
						imgObj.removeClass('initial');
						imgObj.addClass('nonce');
						if($('.ad_cycle img').length)
						{
							$('.ad_cycle img')
								.attr('src', imgObj.attr('target_src'))
								.css('display', 'none')
								.fadeIn('normal')
								.parent().attr('href', imgObj.attr('target_link'))
								.attr('target', '_blank');
					   }
					}
					function stopHere(imgObj){
						slideHere(imgObj);
						stopScroll();
					}
				</script>
					<div class="ad_cycle">
						<div class="line"></div>
						<div class="number">
							<ul>
														<li alt="1"  target_src="image_slides/thumbl_980x340.png" class="nonce">1</li>
														<li alt="2"  target_src="image_slides/thumbl_980x340_002.png" class="initial">2</li>
														<li alt="3"  target_src="image_slides/thumbl_980x340_003.png" class="initial">3</li>
														<li alt="4"  target_src="image_slides/thumbl_980x340_004.png" class="initial">4</li>
														<li alt="5"  target_src="image_slides/thumbl_980x340_005.png" class="initial">5</li>
														<li alt="6"  target_src="image_slides/thumbl_980x340_006.png" class="initial">6</li>
														<li alt="7"  target_src="image_slides/thumbl_980x340_007.png" class="initial">7</li>
														<li alt="8"  target_src="image_slides/thumbl_980x340_008.png" class="initial">8</li>
							</ul>
						</div>
						<div class="number_bg"></div>
							<a href="index.php" target="_blank"><img src="image_slides/thumbl_980x340.png" style=""></a>
					</div>
				</div>
            </div>
			<div class="sidebar" area="sales" widget_type="area">
						
				<div id="_widget_247" name="sale_price" widget_type="widget" class="widget">
					<div class="module_common">
						<h2><b class="sales" title="KHUYẾN MÃI"></b></h2>
						<div class="wrap">
							<div class="wrap_child">
								<ul class="list_pic">
									
                                    <? include('module/product_sales.php')?>
								</ul>

								<ul class="list_text">
									<li>SALE 20% </li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div area="top_right" widget_type="area">         
			<div id="_widget_505" name="goods_module_1" widget_type="widget" class="widget">
				<div class="module_recommend" style="background: #9fd9dd;">
					<h2>
						<b>Sản phẩm bán chạy</b>
					   
					</h2>
					<div class="wrap">
						<div class="diatropism"><table width="100%" border="0" cellspacing="0" cellpadding="0">
										<br /><br />
										  <td ><marquee height="300" behavior="scroll" direction="left" scrolldelay="55" scrollamount="5" onMouseOver="this.stop();" onMouseOut="this.start();">
											<? include('module/product_special.php')?>
											</marquee>
										  </td>
										
									</table>
								  </tr>
						</div>
					</div>
				</div>
			</div>

			<div id="_widget_517" name="best_goods" widget_type="widget" class="widget">
				<div class="module_common">				
					<tr>
						<td class="style16">
						<?php
							if($_REQUEST['frame']=='')
								{
									include('module/home.php');
								}
							else 
								{
						?>
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td class="style17">
												<table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="6"><img src="images/c_bg1.jpg" width="6" height="29" /></td>
														<td class="style11"><? include('module/processTitle.php')?></td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td class="style20">
												<table width="100%" border="0">
													<tr>
													  <td><? include('module/processFrame.php')?></td>
													</tr>
												</table>
											</td>
										</tr>
										</table>
								<? 
								}
								?>
						</td>
					</tr>
					<div class="wrap">
						<div class="wrap_child">
							<div class="recommend">
								<ul class="list_pic"></ul>
							</div>
						</div>
					</div>
				</div>
			</div>	
		</div>
	</div>
</div>
<div class="clear"></div>
<div class="ad_banner" area="banner" widget_type="area">
    </div>

<div class="content">
    <div class="left" area="bottom_left" widget_type="area">
            </div>

    <div class="right" widget_type="area" area="bottom_right">
            </div>
</div>

<div class="clear"></div>
<div class="content" area="bottom_down" widget_type="area">
    </div>

<div id="footer">
    <p>
        <a href="index.php">Trang chủ</a>
    </p>
    
        <b>CỬA HÀNG HOA TƯƠI IZIFLOWERSHOP</b>
               
    <p>
        KM 20 Xa lộ Hà Nội, P. Linh Trung |        
        Quận Thủ Đức, Tp. Hồ Chí Minh |       
        ĐT: (08) 372 51993 |       
        Fax: (08) 372 52148 |
        Email : info@iziflowershop.vn
    </p>
            

        Power by 09520406 - Tương thích và đạt tốc độ tốt nhất với trình duyệt Firefox.

    
</div>
</body>
</html>